const EventPool = {
	
}
export const emit = (eventName, data) => {
	EventPool[eventName] && EventPool[eventName](data)
}

export const on = (eventName, callback)=>{
	EventPool[eventName] = callback
}

export const off = (eventName, callback)=>{
	delete EventPool[eventName]
}

export default EventPool